package logic.courseQuery_logic;

public class ScoreSection {
	private int headScore;
	private int tailScore;
	public ScoreSection(int headScore, int tailScore) {
		super();
		this.headScore = headScore;
		this.tailScore = tailScore;
	}
	public boolean within(int score){
		if(score > headScore && score <= tailScore){
			return true;
		}
		return false;
	}
	public int getHeadScore() {
		return headScore;
	}
	public int getTailScore() {
		return tailScore;
	}
}
